import 'package:json_annotation/json_annotation.dart';

part 'xindong_banner_class.g.dart';

@JsonSerializable()
class XinDongBannerClass {
  late int id;
  late int tid;
  late String title;
  late String content;
  late String img;
  late String url;

  XinDongBannerClass();

  factory XinDongBannerClass.fromJson(Map<String, dynamic> json) => _$XinDongBannerClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongBannerClassToJson(this);
}
